from Tests.BlogLogin import BlogLogin
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from common.TestTool import BlogDriver
from Tests.BlogLists import BlogLists
if __name__ == "__main__":
    login_test = BlogLogin()
    login_test.login_to_error()
    # login_test.login_to_success()
    # #测试首页
    blog_lists = BlogLists()
    # blog_lists.success_to_blogLists()
    blog_lists.error_to_bloglists()
    blog_lists.driver.back()
    #测试博客详情页
